﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Factory
{
    public abstract class Store
    { 
       public Store()
       {    
       }

		public Pizza OrderPizza(string type)
		{
			Pizza pizza;
			
			pizza = CreatePizza(type);

			//pizza.Prepare();
		//	pizza.Bake();
		//	pizza.Cut();
		//	pizza.Box();
			return pizza;
		}
		
		protected abstract Pizza CreatePizza(string type);	
    }
}
